# $Id: PKGBUILD 206275 2014-02-23 13:44:21Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=uhttpmock
pkgver=0.5.0
pkgrel=2
pkgdesc="HTTP web service mocking project for projects which use libsoup"
url="https://gitlab.com/uhttpmock/uhttpmock"
depends=('glib2' 'libsoup')
license=('LGPL2.1')
arch=(i686 x86_64)
source=(https://tecnocode.co.uk/downloads/uhttpmock/$pkgname-$pkgver.tar.xz)
sha256sums=('26da182a2db2579c5ba4dad9096d52099e0766228c295cfbaed6de4046f7d16e')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make install DESTDIR="$pkgdir"
}
